package b.b.c;

import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import androidx.appcompat.app.AlertController;
import androidx.appcompat.app.AlertController.b;

/* compiled from: AlertController */
public class e implements OnItemClickListener {
    public final /* synthetic */ AlertController a;
    public final /* synthetic */ b b;

    public e(b bVar, AlertController alertController) {
        this.b = bVar;
        this.a = alertController;
    }

    public void onItemClick(AdapterView<?> adapterView, View view, int i, long j) {
        this.b.r.onClick(this.a.b, i);
        if (!this.b.u) {
            this.a.b.dismiss();
        }
    }
}
